-
Notifications
You must be signed in to change notification settings - Fork 175
Separately run macOS tests to avoid failures due to lack of Docker #311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separately run macOS tests to avoid failures due to lack of Docker #311
Conversation
Ignore flaky `testMultipleClientParallel`
…t client and server
…t client and server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modifies the test infrastructure to use Docker containers for running TypeScript SDK tests, specifically addressing Docker compatibility issues on macOS by separating test execution into platform-specific jobs.
- Replaces local TypeScript SDK cloning and process execution with Docker-based test runners
- Updates CI workflow to run macOS tests separately from Docker-based JVM tests
- Refactors test utilities to use testcontainers library for better container management
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/utils/Dockerfile | Adds Docker image definition for TypeScript SDK test environment |
| kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/TsTestBase.kt | Major refactor replacing local process execution with Docker container management |
| kotlin-sdk-test/src/jvmTest/kotlin/io/modelcontextprotocol/kotlin/sdk/integration/typescript/sse/*.kt | Updates test classes to use new Docker-based infrastructure |
| kotlin-sdk-test/build.gradle.kts | Adds testcontainers dependency |
| gradle/libs.versions.toml | Adds testcontainers library version |
| .github/workflows/build.yml | Splits CI into separate macOS and Ubuntu jobs with different test strategies |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Motivation and Context
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context